package org.edu.modules.maker.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

@TableName("ve_cuz_course_maker")
@ApiModel(value="ve_cuz_course_maker对象", description="团队制作人")
public class VeCuzCourseMaker
        implements Serializable
{
    private static final long serialVersionUID = 1L;
    @TableId(type=IdType.AUTO)
    @ApiModelProperty("主键、自动增长")
    private Integer id;
    @ApiModelProperty("课程ID")
    private Integer courseid;
    @ApiModelProperty("制作人姓名")
    private String makername;
    @ApiModelProperty("制作人ID")
    private Integer makerid;
    @ApiModelProperty("终端系统ID")
    private Integer terminalid;
    @ApiModelProperty("多租户id")
    private Integer placeId;

    public VeCuzCourseMaker setMakername(String makername)
    {
        this.makername = makername;return this;
    }

    public VeCuzCourseMaker setCourseid(Integer courseid)
    {
        this.courseid = courseid;return this;
    }

    public VeCuzCourseMaker setId(Integer id)
    {
        this.id = id;return this;
    }

    public String toString()
    {
        return "VeCuzCourseMaker(id=" + getId() + ", courseid=" + getCourseid() + ", makername=" + getMakername() + ", makerid=" + getMakerid() + ", terminalid=" + getTerminalid() + ", placeId=" + getPlaceId() + ")";
    }

    public VeCuzCourseMaker setPlaceId(Integer placeId)
    {
        this.placeId = placeId;return this;
    }

    public VeCuzCourseMaker setTerminalid(Integer terminalid)
    {
        this.terminalid = terminalid;return this;
    }

    public VeCuzCourseMaker setMakerid(Integer makerid)
    {
        this.makerid = makerid;return this;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;Object $id = getId();result = result * 59 + ($id == null ? 43 : $id.hashCode());Object $courseid = getCourseid();result = result * 59 + ($courseid == null ? 43 : $courseid.hashCode());Object $makerid = getMakerid();result = result * 59 + ($makerid == null ? 43 : $makerid.hashCode());Object $terminalid = getTerminalid();result = result * 59 + ($terminalid == null ? 43 : $terminalid.hashCode());Object $placeId = getPlaceId();result = result * 59 + ($placeId == null ? 43 : $placeId.hashCode());Object $makername = getMakername();result = result * 59 + ($makername == null ? 43 : $makername.hashCode());return result;
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof VeCuzCourseMaker;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof VeCuzCourseMaker)) {
            return false;
        }
        VeCuzCourseMaker other = (VeCuzCourseMaker)o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();Object other$id = other.getId();
        if (this$id == null ? other$id != null : !this$id.equals(other$id)) {
            return false;
        }
        Object this$courseid = getCourseid();Object other$courseid = other.getCourseid();
        if (this$courseid == null ? other$courseid != null : !this$courseid.equals(other$courseid)) {
            return false;
        }
        Object this$makerid = getMakerid();Object other$makerid = other.getMakerid();
        if (this$makerid == null ? other$makerid != null : !this$makerid.equals(other$makerid)) {
            return false;
        }
        Object this$terminalid = getTerminalid();Object other$terminalid = other.getTerminalid();
        if (this$terminalid == null ? other$terminalid != null : !this$terminalid.equals(other$terminalid)) {
            return false;
        }
        Object this$placeId = getPlaceId();Object other$placeId = other.getPlaceId();
        if (this$placeId == null ? other$placeId != null : !this$placeId.equals(other$placeId)) {
            return false;
        }
        Object this$makername = getMakername();Object other$makername = other.getMakername();return this$makername == null ? other$makername == null : this$makername.equals(other$makername);
    }

    public Integer getId()
    {
        return this.id;
    }

    public Integer getCourseid()
    {
        return this.courseid;
    }

    public String getMakername()
    {
        return this.makername;
    }

    public Integer getMakerid()
    {
        return this.makerid;
    }

    public Integer getTerminalid()
    {
        return this.terminalid;
    }

    public Integer getPlaceId()
    {
        return this.placeId;
    }
}
